home *** CD-ROM | disk | FTP | other *** search
- ' ********************************************************
- ' MDI Standard Application Shell
- ' ********************************************************
- '
- ' SUMMARY
- ' -------
- ' This file is part of an MDI application "skeleton"
- ' created by John Blessing of Leigh Business Enterprises Ltd.
- '
- ' FEATURES
- ' --------
- ' Selection of application database.
- ' Compact/Repair of database.
- ' 'Helptips' on toolbar items.
- ' Support for Help files.
- ' MDI child forms tiling etc.
- ' Error trapping.
- ' 'Nag' screen support for shareware authors.
- ' Support for 3D dialogs (switched off in design mode
- ' to prevent GPFs)
- '
- ' USE
- ' ---
- ' You need VB Pro to use this shell, although it could be
- ' modified to run under the standard edition.
- '
- ' You will need to set up some information in APP.BAS,
- ' particularly in SetAppInfo(). You will also need to add
- ' your own application specific code to this module.
- '
- ' DISTRIBUTION
- ' ------------
- ' This program is "FreeWare" and may be used and distributed
- ' as you wish.
- '
- ' It incorporates some ideas/code from other authors and these
- ' are acknowledged in the appropriate module.
- '
- ' We hope that you will find it useful. If you wish to discuss it
- ' then please e-mail us on Compuserve 100444,623.
- '
- ' ADVERTISEMENT!
- ' --------------
- ' Are you looking for a helpdesk system? Or does your company
- ' want to track and monitor the progress of any work activity?
- ' We market a system which could be of interest to you.
- '
- ' PROGRESS is available for download from the Business section
- ' of the Windows Shareware forum on Compuserve
- ' (filename PRGRSS10.ZIP). It's a large program, so in the
- ' same section you will also find the help files and
- ' documentation as PRGSSDOC.ZIP which is quicker to download
- ' and will give you a good idea of the functionality of PROGRESS.
- '
- ' Dec 1994
- '
- Option Explicit
-
- '*******************************************************
- '* Procedure Name: bFileExists *
- '*-----------------------------------------------------*
- '* Created: 8/29/94 By: David McCarter *
- '* Modified: By: *
- '*=====================================================*
- '*This function will check to make sure that a file *
- '*exists.It will return True if the file was found and *
- '*False if it was not found. *
- '*Example: If Not bFileExists("autoexec.bat") Then... *
- '*******************************************************
- Function bFileExists (filename As String) As Integer
- Dim i As Integer
- On Error Resume Next
-
- i = Len(Dir$(filename))
- If Err Or i = 0 Then
- bFileExists = False
- Else
- bFileExists = True
- End If
- End Function
-
-